package zl7;

/**
 * Created with Intellij IDEA.
 * Description:
 * User:张蕾
 * Date:2023-06-06
 * Time:23:35
 */
public class Circle {
    double radius,area,s;
    double x,y;
    static int count=0;
    Circle(){
        count++;
    }
    Circle(double radius){
        this.radius=radius;
        count++;
    }

    double getArea(){
        area=3.14*radius*radius;
        return area;
    }
    double getS(){
        s=2*radius*3.14;
        return s;
    }

    int getCount(){
        return count;
    }
}
